NET_SDK_EditSNMPCfg¶
Interface Definition¶
1 2 3 4 5 6 7 8 9 10 11 | |
1 2 3 4 5 6 7 8 9 10 11 | |
Function Description¶
Edit SNMP configuration (valid only for NVR).
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx. |
| snmpVersionin | NET_SDK_SNMP_VERSION | SNMP version (V1/V2/V3 mutually exclusive). |
| snmpPortin | int | SNMP port number. |
| trapAddressin | char* | Trap address. |
| trapPortin | int | Trap port number. |
| securityLevelin | NET_SDK_SNMP_SECURITY_LEVEL | Security level (0: No authentication and no encryption, 1: Authentication and no encryption, 2: Authentication and encryption). |
| authTypein | NET_SDK_SNMP_AUTH_TYPE | Authentication method (0:MD5, 1:SHA). |
| privTypein | NET_SDK_SNMP_PRIV_TYPE | Encryption method (0:AES, 1:DES). |
| authPasswdin | char* | Authentication password (clear text, internal MD5 encryption). |
| privPasswdin | char* | Encrypted password (clear text, internal MD5 encryption). |
Return Value¶
-
Type:BOOL
-
Remark:Returns TRUE if successful, FALSE if failed.
Remarks¶
None